<table>
<caption><h2>已排課教師列表</h2></caption>
<thead>
<tr>
<th>任課教師</th><th>已配節數</th>
</tr>
</thead>
<tbody>
<?php foreach($this->data as $val):?>
<tr><td><a class="sel-teacher" href="#" id="t-<?php echo  $val['teacher_sn']?>"><?php echo  $val['name']?></a></td>
<td><?php echo  $val['cc']?></td>
</tr>
<?php endforeach;?>
</tbody>
</table>